package com.fulihui.usercore.enums;

import org.near.toolkit.model.BaseEnum;

/**
 * 合作方对接方式
 * @author Willard.Hu on 2016/9/22 0022.
 */
public enum CooperationConnectionEnum implements BaseEnum {

    NOT_CONN("0", "不对接"),

    API_CONN("1", "接口对接"),

    ;

    private String code;
    private String desc;

    CooperationConnectionEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
